package zzztest;

public class Test {
    public static void main(String[] args) {
        //
        MyArrayList<String> list=new MyArrayList<String>();
        /*list.set(0, "aaa");*/
        list.add("aaa");
        System.out.println(list.size());
        System.out.println(list.get(0));
        System.out.println(list);
        list.add("bbb");
        System.out.println(list.size());
        System.out.println(list.get(1));
        list.set(1,"ccc");
        list.remove(1);
        System.out.println(list);
        System.out.println("-----------------");
        list.add("bbb");
        System.out.println(list.size());
        list.add("bbb");
        System.out.println(list.size());
        list.add("bbb");
        System.out.println(list.size());
        list.add("bbb");
        System.out.println(list.size());
        for (int i = 0; i < 10; i++){
            list.add("jjj");
        }

        boolean bo= list.contains("jjj");

        System.out.println(bo);
        System.out.println(list.size());

        System.out.println(list);
    }
    public void a(){}
    public void b(){
        a();
    }
}
